package com.wocao.service;

import com.wocao.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.awt.*;
import java.util.List;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author Cwj
 * @since 2023-11-21
 */
public interface SysMenuService extends IService<SysMenu> {

    //查询所有菜单及子菜单
    List<SysMenu> selectAllMenuAndChildMenu();

    List<SysMenu> getMenuWithChildren();

    List<SysMenu> getMenuTree(String menuName, String status);
}
